import {post} from '../../axios.js'

/*
 * 超级管理员-权限菜单
 */
export default {
    //查询角色列表
    getRoles(params) {
        return post('/sysuser/getRoles', params)
    },
    //获取角色权限树
    getRolePermissionTree(params) {
        return post('/sysuser/getRolePermissionTree', params)
    },
    //获取已选择角色
    getRolePermissionTreeCheckedKeys(params) {
        return post('/sysuser/getRolePermissionTreeCheckedKeys', params)
    },
    //保存
    saveUsrPermissions(params) {
        return post('/sysuser/saveUsrPermissions', params)
    },
};
